import request from '@/utils/request'

export const getListApi = (params:Object)=>{
    return request({
        url:'staff/list',
        method:'get',
        params
    })
}

export const addListApi = (data:Object)=>{
    return request({
        url:'staff/save',
        method:'post',
        data
    })
}

export const eidorListApi = (data:Object)=>{
    return request({
        url:'staff/modify',
        method:'post',
        data
    })
}

export const deleteListApi = (params:Object)=>{
    return request({
        url:'staff/delete',
        method:'get',
        params
    })
}